package com.youedata.modular.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youedata.modular.entity.ArchivalInformation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youedata.modular.model.dto.ArchivalInformationDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 档案信息表 Mapper 接口
 *
 * @author hao.yan
 * @date 2021-09-04
 */

public interface ArchivalInformationMapper extends BaseMapper<ArchivalInformation> {

    Map<String, Object> detailById(@Param("id") Long id);

    List<ArchivalInformation> pageSimpleInfo(@Param("page") Page page, @Param("archivalInformationDTO") ArchivalInformationDTO archivalInformationDTO);

}
